package com.ruoyi.engineering.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 【请填写功能名称】对象 project
 *
 * @author ruoyi
 * @date 2024-06-30
 */
public class Project extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplier;

    /** erp编号 */
    @Excel(name = "erp编号")
    private Long erpId;

    /** 供应商类型 */
    @Excel(name = "供应商类型")
    private String type;

    /** 跨组织状态 */
    @Excel(name = "跨组织状态")
    private String status;

    /** 是否启用SRM功能 */
    @Excel(name = "是否启用SRM功能")
    private Long enableSrm;

    /** 是否上传erp 1：是 0：否 */
    @Excel(name = "是否上传erp 1：是 0：否")
    private Long isUpload;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setSupplier(String supplier)
    {
        this.supplier = supplier;
    }

    public String getSupplier()
    {
        return supplier;
    }

    public void setErpId(Long erpId)
    {
        this.erpId = erpId;
    }

    public Long getErpId()
    {
        return erpId;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }

    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public void setEnableSrm(Long enableSrm)
    {
        this.enableSrm = enableSrm;
    }

    public Long getEnableSrm()
    {
        return enableSrm;
    }

    public void setIsUpload(Long isUpload)
    {
        this.isUpload = isUpload;
    }

    public Long getIsUpload()
    {
        return isUpload;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("supplier", getSupplier())
                .append("erpId", getErpId())
                .append("type", getType())
                .append("status", getStatus())
                .append("enableSrm", getEnableSrm())
                .append("isUpload", getIsUpload())
                .toString();
    }
}

